<!DOCTYPE html>
<%@ page contentType="text/html; charset=UTF-8"%>

<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
	String chartType=request.getParameter("chartType");
	String dataType=request.getParameter("data");
	if("2".equals(dataType)&&!chartType.startsWith("StackedColumn")){
		chartType="MS"+chartType;
	}

	String showValues=request.getParameter("showValues");
	String bgcolor=request.getParameter("bgcolor");
	String plotcolor=request.getParameter("plotcolor");

	String queryParam="chartType="+chartType+"&dataType="+dataType+"&bgcolor="+bgcolor+"&canvasBgColor="+plotcolor+"&showValues="+showValues;
%>

<html>
<EF:EFHead includeDefault="true">

	<EF:EFScript src="./ER/chart/FusionCharts/FusionCharts.js"></EF:EFScript>

</EF:EFHead>
<EF:EFBody>
<EF:EFForm id="ZMCAA05" method="POST" action="<%=actionUrl%>" >
<table style="width:100%">
	<tr>
		<td>
		<EF:EFChartRender blockId="efChartBlock" chartType="<%=chartType%>" width="700" height="500" id="qqq"  methodName="getChartData" serviceName="ZMCAA04" queryParam="<%=queryParam%>" ></EF:EFChartRender>
		</td>
		<td>
		<EF:EFChartRender blockId="efChartBlock" chartType="<%=chartType%>" width="700" height="500" id="qqq1"  methodName="getChartData" serviceName="ZMCAA05" queryParam="<%=queryParam%>" ></EF:EFChartRender>
		</td>
	</tr>
</table>
</EF:EFForm>
</EF:EFBody>
</html>
